﻿var Users = {
	User: {
		isLogged: function () {
			var _ticket = $.cookie(".ticket");
			if (_ticket != null) {
				return true;
			}
			else {
				return false;
			}
		},
		nickname: function () {
			return decodeURI($.cookie(".nickname"));
		},
		registerUrl: "http://account.wanpijie.com/Login/Index.aspx",
		loginUrl: "http://account.wanpijie.com/Login/Index.aspx",
		logoutUrl: "http://account.wanpijie.com/Logout.aspx"
	}
}